package com.itjoyee.redis.benchmark.base;

import com.codahale.metrics.MetricRegistry;

/**
 * @param <T>
 */
public interface Bench<T> {

    T createInstance(int connections, String host);
    
    void executeOperation(String data, T benchInstance, int threadNumber, int iteration, MetricRegistry metrics);

    void shutdown(T instance);
    
}
